package com.service;

import com.entity.User;
import com.github.pagehelper.PageInfo;
import com.vo.UserBackVo;

import com.entity.User;
import com.util.AjaxResult;

public interface UserService {
//    杨跃森
    public void regist(User user);
    public User findByname(User user);
    public Integer findByEmail(String email);

    public int updateUser(User user);
    public User findById(Integer id);
    public AjaxResult findUser(String login_name,String password);
//pj
    public User findUserAdmin(User u);

    public PageInfo findBackUser(String pageNo, UserBackVo userBackVo);

    public int modifyBackUser(User user);

   public AjaxResult showBackUser(Integer id);
}
